package com.moli.iov.base.enums;

/**
 *
 * @author whl
 */
public enum OnLineStatusEnum {
  NO(0,"离线"),
  YES(1,"在线");
  private int code;

  private String cnName;

  private OnLineStatusEnum(int code, String cnName) {
    this.code = code;
    this.cnName = cnName;
  }

  public int getCode() {
    return code;
  }

  public String getCnName() {
    return cnName;
  }

  public void setCode(int code) {
    this.code = code;
  }

  public void setCnName(String cnName) {
    this.cnName = cnName;
  }
}
